import request from '@/utils/request'

// 根据formId查询问卷调查列表
export function getQuestionList(formId) {
  return request({
    url: '/secondVitim/api/getQueForm?id='+formId,
    method: 'get'
  })
}

// 提交问卷
export function submitQuestion(data) {
  return request({
    url: '/secondVitim/api/submitFormQuestion',
    method: 'post',
    data: data
  })
}